package com.quanyan.user.model.vo.request;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created by yue.yuan on 2016/7/11.
 */
public class QueryBase extends ReqUserBaseParam {

    @Valid
    @NotNull
    @Min(1)
    private Integer pageNum;

    @Valid
    @NotNull
    @Min(1)
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
